package com.jt.service;

import com.jt.pojo.Item;
import com.jt.pojo.ItemDesc;
import com.jt.vo.SysResult;
import com.jt.vo.EasyUITable;

public interface ItemService {
    EasyUITable findItemsByPage(Integer pageCurrent, Integer pageSize);

    int saveItem(Item item, ItemDesc itemDesc);

    SysResult findById(Long id);

    int updateItem(Item item, ItemDesc itemDesc);

    int deleteByIds(Long[] ids);

    int changeStatus(Long[] ids);

    int updateStatus(Integer status, Long[] ids);

    ItemDesc findItemDescById(Long id);
}
